﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KCMS.BusinessLogic.Models;

namespace KCMS.BusinessLogic.Interfaces
{
    public interface IProductCategoryService
    {
        ProductCategory getById(Guid id);
        ProductCategory getByCode(String code);
        IEnumerable<ProductCategory> getAll();
        IEnumerable<ProductCategory> getAllParents(ProductCategory category);
        void update(ProductCategory productCategory);
        void delete(Guid id);
        void save(ProductCategory productCategory);
    }

}
